<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="page" value="#{mmLocationSubBean.page}"/>
		<f:event type="preRenderView" listener="#{mmLocationSubBean.paginate}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Search Mm Location Sub entities"/>

	<ui:define name="header">
		Mm Location Sub
	</ui:define>

	<ui:define name="subheader">
		Search Mm Location Sub entities
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="search">
			<f:validateBean disabled="true">
				<h:panelGroup styleClass="search">

					<h:panelGrid columnClasses="label,component,required" columns="3">
						<h:outputLabel for="mmLocationSubBeanExampleMmLocationByLctNo" value="Mm Location By Lct No:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{mmLocationBean.converter}" id="mmLocationSubBeanExampleMmLocationByLctNo" value="#{mmLocationSubBean.example.mmLocationByLctNo}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{mmLocationBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="mmLocationSubBeanExampleMmLocationByLctNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmLocationSubBeanExampleMmLocationBySubLctNo" value="Mm Location By Sub Lct No:"/>
						<h:panelGroup>
							<h:selectOneMenu converter="#{mmLocationBean.converter}" id="mmLocationSubBeanExampleMmLocationBySubLctNo" value="#{mmLocationSubBean.example.mmLocationBySubLctNo}">
								<f:selectItem/>
								<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{mmLocationBean.all}" var="_item"/>
							</h:selectOneMenu>
							<h:message for="mmLocationSubBeanExampleMmLocationBySubLctNo" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
						<h:outputLabel for="mmLocationSubBeanExampleSubLctDescr" value="Sub Lct Descr:"/>
						<h:panelGroup>
							<h:inputText id="mmLocationSubBeanExampleSubLctDescr" maxLength="300" value="#{mmLocationSubBean.example.subLctDescr}"/>
							<h:message for="mmLocationSubBeanExampleSubLctDescr" styleClass="error"/>
						</h:panelGroup>
						<h:outputText/>
					</h:panelGrid>
					<h:panelGroup styleClass="buttons">
						<h:commandLink value="Search" action="#{mmLocationSubBean.search}" styleClass="btn btn-primary"/>
						<h:commandLink value="Create New" action="#{mmLocationSubBean.create}" styleClass="btn btn-primary"/>
					</h:panelGroup>
				</h:panelGroup>
			</f:validateBean>
			
			<h:dataTable id="mmLocationSubBeanPageItems" styleClass="data-table" value="#{mmLocationSubBean.pageItems}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Location By Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmLocationByLctNo" value="#{forgeview:display(_item.mmLocationByLctNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Mm Location By Sub Lct No"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemMmLocationBySubLctNo" value="#{forgeview:display(_item.mmLocationBySubLctNo)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sub Lct Descr"/>
					</f:facet>
					<h:link outcome="/mmLocationSub/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemSubLctDescr" value="#{_item.subLctDescr}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<ui:include src="/resources/scaffold/paginator.xhtml">
				<ui:param name="paginatorBean" value="#{mmLocationSubBean}"/>
			</ui:include>
		</h:form>
			
	</ui:define>

</ui:composition>
